/*
 * @Description: 项目网页名称
 * @version:
 * @Author: m
 * @LastEditors: m
 */

import defaultSettings from "@/settings";

const title = defaultSettings.title || "项目名";

export default function getPageTitle(pageTitle) {
	if (pageTitle) {
		return `${pageTitle} - ${title}`;
	}
	return `${title}`;
}
